package com.keyou.reggie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.keyou.reggie.entity.User;
import com.keyou.reggie.mapper.UserMapper;
import com.keyou.reggie.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: klq
 * @Date: 2023/1/12 14:01
 * @Description:
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> getUsersByMail(String mail) {
        return userMapper.queryUsersByMail(mail);
    }
}